package com.travel.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Author:Jasenon_ce
 * @Date: 2025/03/13/下午4:23
 */
@Data
@NoArgsConstructor
public class UserRegisterDTO {

    @NotBlank
    @ApiModelProperty("用户名")
    private String username;

    @NotBlank
    @ApiModelProperty("密码(加密存储)")
    private String password;

    @NotBlank
    @ApiModelProperty("邮箱")
    private String email;

    @NotBlank
    @ApiModelProperty("名")
    private String firstName;

    @NotBlank
    @ApiModelProperty("姓")
    private String lastName;

    @NotBlank
    @ApiModelProperty("偏好语言")
    private String preferredLanguage;

    @NotBlank
    @ApiModelProperty("性别")
    private String gender;

    private Date registrationDate;

    private Integer userStatus;

}
